package com.link.base.base.file.service;

import com.link.base.base.file.model.HeadRowStructure;

import javax.servlet.http.HttpServletRequest;

/**
 * 头行结构导入导出service
 *
 * @author LiYang
 * @date 20191025
 */
public interface ExpAndImpService {

    /**
     * 导出方法
     *
     * @author LiYang
     * @date 20191025
     * @param entity
     * @param request
     * @return
     * @throws Exception
     */
    public String exportData(HeadRowStructure entity, HttpServletRequest request);

    /**
     * 导入方法
     *
     * @author LiYang
     * @date 20191025
     * @param entity
     * @param request
     * @return
     * @throws Exception
     */
    public boolean importData(HeadRowStructure entity, HttpServletRequest request);
}
